Blitz (14/40)

From:Nick Clover
Date:20 Sep 2001 at 17:10:49
Subject:GTMenu problems

Greetings,

Has anyone come across the following GTMenus 'feature'.

I've got some toggle menus created with:

GTMenuTitle 0,2,"Prefs"
GTMenuItem 0,1,2,0,"Shadow"
GTMenuItem 0,1,2,1,"Dithered"
GTMenuItem 0,1,2,2,"Scrolling"
GTMenuItem 0,1,2,3,"Fast Scroll"

GTSetMenuChecked 0,2,0,shadow
GTSetMenuChecked 0,2,1,raster
GTSetMenuChecked 0,2,2,scrolling
GTSetMenuChecked 0,2,3,fast

The problem is that when I use the menus, the option will
turn on but won't turn off.

This does not happen with magicmenu running, only with standard
workbench menus.

I check the menu status with:

If MenuHit = 2
Select ItemHit
Case 0
shadow = GTMenuChecked(0,2,0)
GTMenuState 0,2,1,shadow
Case 1
raster = GTMenuChecked(0,2,1)
Case 2
scrolling = GTMenuChecked(0,2,2)
GTMenuState 0,2,3,scrolling
Case 3
fast = GTMenuChecked(0,2,3)
<snip>

Cheers






Nick Clover - http://come.to/amigaklub



A4000/060, 128Mb, PicassoIV, Paloma, KTX 17" Monitor, Punchinello II

IDE: 10.1 & 13.8 Gb HD, SCSI: Fujitsu 18Gb HD, Sony CDU625-S CD

2x Sony CDD2600 CDR, Aiwa ACD300, Ricoh 8x8x32 CDrw

Brother HL1250 Laser, HP890c Inkjet, Generic V90 Modem, Trust Ergo Keyboard


---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie